package com.weather.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.weather.common.annotation.Excel;
import com.weather.common.core.domain.BaseEntity;

/**
 * 城市7日天气对象 weather_seven_data
 *
 * @author ruoyi
 * @date 2024-03-19
 */
public class WeatherSevenData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 城市ID */
    @Excel(name = "城市ID")
    private String cityid;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String city;

    /** 预报日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预报日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 天气情况 */
    @Excel(name = "天气情况")
    private String wea;

    /** 天气对应图标 */
    @Excel(name = "天气对应图标")
    private String weaImg;

    /** 白天温度(高温) */
    @Excel(name = "白天温度(高温)")
    private String temDay;

    /** 白天温度(低温) */
    @Excel(name = "白天温度(低温)")
    private String temNight;

    /** 风向	 */
    @Excel(name = "风向	")
    private String win;

    /** 风力等级 */
    @Excel(name = "风力等级")
    private String winSpeed;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCityid(String cityid)
    {
        this.cityid = cityid;
    }

    public String getCityid()
    {
        return cityid;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setDate(Date date)
    {
        this.date = date;
    }

    public Date getDate()
    {
        return date;
    }
    public void setWea(String wea)
    {
        this.wea = wea;
    }

    public String getWea()
    {
        return wea;
    }
    public void setWeaImg(String weaImg)
    {
        this.weaImg = weaImg;
    }

    public String getWeaImg()
    {
        return weaImg;
    }
    public void setTemDay(String temDay)
    {
        this.temDay = temDay;
    }

    public String getTemDay()
    {
        return temDay;
    }
    public void setTemNight(String temNight)
    {
        this.temNight = temNight;
    }

    public String getTemNight()
    {
        return temNight;
    }
    public void setWin(String win)
    {
        this.win = win;
    }

    public String getWin()
    {
        return win;
    }
    public void setWinSpeed(String winSpeed)
    {
        this.winSpeed = winSpeed;
    }

    public String getWinSpeed()
    {
        return winSpeed;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cityid", getCityid())
            .append("city", getCity())
            .append("date", getDate())
            .append("wea", getWea())
            .append("weaImg", getWeaImg())
            .append("temDay", getTemDay())
            .append("temNight", getTemNight())
            .append("win", getWin())
            .append("winSpeed", getWinSpeed())
            .toString();
    }
}
